package com.acxiom.bsh.exception;

public class BshException extends Exception {

	private static final long serialVersionUID = 1L;

	private String code;
	private String message;
	private Throwable cause;

	public BshException() {

	}

	public BshException(String code, String message, Throwable cause) {
		this.code = code;
		this.message = message;
		this.cause = cause;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Throwable getCause() {
		return cause;
	}

	public void setCause(Throwable cause) {
		this.cause = cause;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
